<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <script src="react-demos/build/react.development.js"></script>
        <script src="react-demos/build/react-dom.development.js"></script>
        <script src="react-demos/build/babel.min.js"></script>
    </head>
    <body>
        <div id="example"></div>
        <script type="text/babel">
          var arr = [
            <h1>hello world</h1>,
            <h2>react 有点有趣哟</h2>
          ];
          ReactDOM.render(
              <div>{arr}</div>,
              document.getElementById('example')
          );
        </script>
      </body>
</html>